﻿using System;
/// <summary>
/// 数据库连接配置。
/// </summary>
/// <remarks>数据库连接配置。</remarks>
public static class DataConfig
{
    /// <summary>
    /// 获取配置数据库连接语句。
    /// </summary>
    /// <remarks>获取配置数据库连接语句。</remarks>
    /// <returns>string</returns>
    public static string ConnectionString
    {
        get
        {
            return "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + System.Web.HttpContext.Current.Server.MapPath("~/App_Data/data.mdb") + ";Persist Security Info=True";
        }
    }
}